#include <stdio.h>

int main() {
    int a;
    while (scanf("%d", &a) != EOF)
    {
        for (int i = 1; i <= a + 1; i++)
        {
            for (int j = 1; j <= a + 1 - i; j++)
            {
                printf("  ");
            }
            for (int n = 1; n <= i; n++)
            {
                printf("*");
            }
            printf("\n");
        }
        for (int i = 1; i <= a; i++)
        {
            for (int j = 1; j <= i; j++)
            {
                printf("  ");
            }
            for (int n = 1; n <= a + 1 - i; n++)
            {
                printf("*");
            }
            printf("\n");
        }
    }
    return 0;
}